home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 081 / newopus.arc / OINSTALL.BAT < prev    next >
DOS Batch File  |  1987-10-13  |  5KB  |  183 lines

  1. echo off
  2. rem Batch File for Installing NEWOPUS Package
  3. rem by Alan Applegate and Lee Lasson
  4. rem
  5. rem Copyright (C) 1987 Alan Applegate and Lee Lasson, All Rights Reserved
  6. rem Permission Granted to Distribute This File to All Opus Sysops,
  7. rem Present and Future!
  8. cls
  9. echo Installation Batch File for NEWOPUS Package
  10. echo Copyright (C) 1987 Alan Applegate and Lee Lasson
  11. echo  
  12. echo PLEASE!  If you have NOT read the NEWOPUS.DOC file, please print the
  13. echo file and have it ready before you continue!  It contains important
  14. echo step-by-step installation information.  
  15. echo  
  16. echo Press CTRL-C to abort this batch file, or
  17. pause
  18. cls
  19. echo Installation Batch File for NEWOPUS Package 
  20. echo Copyright (C) 1987 Alan Applegate and Lee Lasson
  21. echo  
  22. echo NOTE!  DOS 3.0 or higher *may* be required in order for this batch
  23. echo file to work.  You also need the following files in your ROOT
  24. echo directory...
  25. echo  
  26. echo    NEWOPUS1.ARC          NEWOPUS2.ARC               NEWOPUS3.ARC
  27. echo    PKXARC.COM            AUTOEXEC.BAT 
  28. echo  
  29. echo This file will append your AUTOEXEC.BAT file with the information
  30. echo needed to run Opus.  If you are in a time zone OTHER than Mountain,
  31. echo or if it is NOT currently Mountain Daylight Time, you will need to
  32. echo change the AUTOEXEC.BAT file after we get done with it.  Instructions
  33. echo will be located in the finished AUTOEXEC.BAT file.  If you are in a
  34. echo time zone OTHER than Mountain, then you will need to consult the 
  35. echo Opus documentation.
  36. echo  
  37. echo You will also need to make sure that ANSI.SYS is loaded via your 
  38. echo CONFIG.SYS file.  This batch file will not handle this activity for
  39. echo you.
  40. echo  
  41. pause
  42. cls  
  43. echo Installation Batch File for NEWOPUS Package
  44. echo Copyright (C) 1987 Alan Applegate and Lee Lasson
  45. echo  
  46. echo Furthermore, this batch file makes the assumption that you are going
  47. echo to install Opus as per the instructions contained in NEWOPUS.DOC, and
  48. echo that you are going to install it on the C: drive.
  49. echo  
  50. echo Please be aware that Opus will require as much as 1.5 Meg of hard disk
  51. echo to operate, not including ANY messages or files.  Opus WILL NOT run
  52. echo on a floppy based system (for all practical purposes).
  53. echo  
  54. echo If you do not have this much space available, make space before going
  55. echo on.  If you are unwilling to devote this much space to a BBS, press
  56. echo CTRL-C now to abort the installation.
  57. echo  
  58. echo NOTE:  The NEWOPUS.ARC file needs to have been un-packed into your
  59. echo ROOT directory.  If that's not the case, then move the files into your
  60. echo ROOT.  This batch file will perform housecleaning after it's through.
  61. echo  
  62. pause
  63.  
  64. cls
  65. if not exist C:\NEWOPUS1.ARC goto missing2
  66. if not exist C:\NEWOPUS2.ARC goto missing3
  67. if not exist C:\NEWOPUS3.ARC goto missing4
  68. if not exist C:\PKXARC.COM goto missing5
  69. if not exist C:\AUTOEXEC.BAT goto missing6
  70. if not exist C:\OPUS_103.ARC goto missing7
  71. if not exist C:\OMMM_104.ARC goto missing8
  72. if not exist C:\ONODE146.ARC goto missing9
  73. if not exist C:\XLATRGEN.ARC goto missing10
  74. echo Everything appears to be in order.  Making directories.
  75. echo  
  76. C:
  77. cd \
  78. md \opus
  79. md \opus\hlp
  80. md \opus\misc
  81. md \opus\outbound
  82. md \opus\nodelist
  83. md \msg
  84. md \msg\comments
  85. md \msg\general
  86. md \msg\net
  87. md \msg\fidosysp
  88. md \file
  89. md \file\general
  90. md \file\net
  91. md \file\ibm
  92.  
  93. pkxarc opus_103.arc \opus opus.exe
  94. del opus_103.arc
  95. pkxarc ommm_104.arc \opus
  96. del ommm_104.arc
  97. pkxarc onode146.arc \opus\nodelist
  98. del onode146.arc
  99. pkxarc xlatrgen.arc \opus\nodelist
  100. del xlatrgen.arc 
  101. del \opus\nodelist\xlatlist.ctl
  102. pkxarc newopus1.arc \opus
  103. del newopus1.arc
  104. pkxarc newopus2.arc \opus\misc
  105. del newopus2.arc
  106. pkxarc newopus3.arc \opus\hlp
  107. del newopus3.arc
  108.  
  109. cd \opus
  110. copy \opus\nodelist.366 \opus\nodelist
  111. del nodelist.366
  112.  
  113. copy \autoexec.bat+\opus\ostart.bat \autoexec.bat
  114. del ostart.bat
  115.  
  116. copy dir0m.bbs  \msg\comments\dir.bbs
  117. del  dir0m.bbs
  118. copy dir1m.bbs  \msg\general\dir.bbs
  119. del  dir1m.bbs
  120. copy dir2m.bbs  \msg\net\dir.bbs
  121. del  dir2m.bbs
  122. copy dir30m.bbs \msg\fidosysp\dir.bbs
  123. del  dir30m.bbs
  124.  
  125. copy dir1f.bbs  \file\general\dir.bbs
  126. del  dir1f.bbs
  127. copy dir2f.bbs  \file\ibm\dir.bbs
  128. del  dir2f.bbs
  129.  
  130. copy files1.bbs \file\general\files.bbs
  131. del  files1.bbs
  132. copy files2.bbs \file\ibm\files.bbs
  133. del  files2.bbs
  134.  
  135. copy xlatlist.ctl \opus\nodelist
  136. del  xlatlist.ctl
  137.  
  138. cls
  139. echo Done!
  140. echo  
  141. echo Now, refer back to the NEWOPUS.DOC for information on finishing
  142. echo this process, and enjoy OPUS!
  143.  
  144. goto end
  145.  
  146. :missing1
  147. echo NEWOPUS.ARC is missing.
  148. goto end
  149. :missing2
  150. echo NEWOPUS1.ARC is missing.
  151. goto end
  152. :missing3
  153. echo NEWOPUS2.ARC is missing.
  154. goto end
  155. :missing4
  156. echo NEWOPUS3.ARC is missing.
  157. goto end
  158. :missing5
  159. echo PKXARC.COM is missing.
  160. goto end
  161. :missing6
  162. echo AUTOEXEC.BAT is missing.
  163. goto end
  164. :missing7
  165. echo OPUS_103.ARC is missing.
  166. goto end
  167. :missing8
  168. echo OMMM_104.ARC is missing.
  169. goto end
  170. :missing9
  171. echo ONODE146.ARC is missing.
  172. goto end
  173. :missing10
  174. echo XLATRGEN.ARC is missing.
  175. goto end
  176.  
  177.  
  178.  
  179.  
  180. :end
  181. cd \
  182.  
  183.